package com.firebird.fejpsl.service.app;

import com.firebird.fejpsl.domain.app.Banner;
import com.firebird.fejpsl.service.BaseService;
import com.firebird.fejpsl.viewmodel.app.banner.BannerPageRequestVM;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface BannerService extends BaseService<Banner> {
    List<Banner> getBannerByType(Integer type);

    List<Banner> allBanner();

    Integer typeByBannerId(Integer id);

    PageInfo<Banner> page(BannerPageRequestVM requestVM);
}
